/*
 * @Descripttion: 
 * @version: @ 1.0.0
 * @Author: 朱江洲
 * @Date: 2021-10-12 14:28:13
 * @LastEditors: 朱江洲
 * @LastEditTime: 2021-10-12 17:32:45
 */
import request from "@/utils/request.js";
// 获取学员信息列表
export const getList = params => {
    return request({
        method: 'get',
        url: '/personal/studentInfo/list',
        params
    })
}

// 新增学员
export const addStudent = data => {
    return request({
        method: 'post',
        url: '/personal/studentInfo/add',
        data
    })
}

// 查看学员

export const lookStudent = params => {
    return request({
        method: 'get',
        url: '/personal/studentInfo/get',
        params
    })
}
// 编辑学员
export const editStudent = data => {
    return request({
        method: 'post',
        url: '/personal/studentInfo/edit',
        data
    })
}
// 删除学员
export const removeStudent = data => {
    return request({
        method: 'post',
        url: '/personal/studentInfo/remove',
        data
    })
}

// 导出学员
export const exportStudent = params => {
    return request({
        method: 'get',
        url: '/personal/studentInfo/export',
        params
    })
}

// 导出学员模版
export const importTemplate = params => {
    return request({
        method: 'get',
        url: '/personal/studentInfo/exportTemplate',
        params
    })
}

// 导入学员信息
export const importDateStudent = data => {
    return request({
        method: 'post',
        url: '/personal/studentInfo/importDate',
        data
    })
}


